package com.xiegang.serviceMap.controller;

import com.xiegang.internalcommon.dto.ResponseResult;
import com.xiegang.serviceMap.service.TrackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xieGang
 * @description
 * @date 2023/4/5 12:38
 **/

@RestController
@RequestMapping("/track")
public class TrackController {

    @Autowired
    private TrackService trackService;

    @PostMapping("/add")
    public ResponseResult add(String tid){
        return trackService.add(tid);
    }
}
